package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.common.page.Pagination;
import com.yiyi.credit.manage.sso.model.entity.SysRole;

import java.util.List;


public interface SysRoleService {


    int addSysRole(SysRole sysRole) throws ServiceException;


    int updateSysRole(SysRole sysRole) throws ServiceException;


    int deleteSysRoleById(SysRole sysRole) throws ServiceException;


    SysRole getSysRoleById(Long id) throws ServiceException;


    List<SysRole> getSysRoleBySysId(Long sysInfoId) throws ServiceException;


    Pagination getSysRolePageBySysId(Long sysInfoId, Pagination pagination) throws ServiceException;


    List<SysRole> getAllSysRole() throws ServiceException;



    List<SysRole> getSysRoleList(Long sysInfoId) throws ServiceException;




    List<SysRole> getRoleId(Long sysInfoId, String roleName) throws ServiceException;


}
